﻿#include "recentcontactlabel.h"
#include "QDebug"
#include "mainwindow.h"
#include "QDebug"
#include "QMouseEvent"


RecentContactLabel::RecentContactLabel(QLabel *parent) : QLabel(parent) {

}

void RecentContactLabel::mousePressEvent(QMouseEvent *event) {
    if(event->button() == Qt::LeftButton){
        emit clicked();
    }
    // TODO: 作用？
    QLabel::mousePressEvent(event);
}
